package cn.sfrog.project.biz.admin.domain;

import cn.sfrog.common.core.domain.BaseEntity;
import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.Data;

import java.math.BigDecimal;
import java.util.Date;


@Data
@TableName("biz_user_withdraw_record")
public class BizUserWithdrawRecord extends BaseEntity<BizUserWithdrawRecord>{

    public static final BizUserWithdrawRecord DAO = new BizUserWithdrawRecord();

    private static final long serialVersionUID = 1L;


    /** id */
    @TableId(type = IdType.AUTO)
    private Long id;


    /** 用户id */
    private Long userId;

    /** 提现银行卡id */
    private Long bankCardId;


    /** 提现金额 */
    private BigDecimal withdrawAmount;

    /** 提现陪护豆 */
    private BigDecimal withdrawEscortCount;


    /** 账户余额 */
    private BigDecimal accountBalance;


    /** 流水号 */
    private String serialNumber;


    /** 提现时间 */
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private Date withdrawTime;


    /** 审核状态【0=待审核 1=审核成功 2=审核失败】 */
    private String auditStatus;


    /** 审核备注 */
    private String auditRemark;

    /** 审核时间 */
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private Date auditTime;

    /** 审核人id */
    private Long auditUserId;


}
